Update dependency eslint-config-xo to v0.53.2#336
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
e4c41fd to
59cd12b
Compare
1a696f3 to
5c8bbae
Compare
5c8bbae to
9459c85
Compare
b638fb3 to
1f2ee4b
Compare
1f2ee4b to
7e5dec0
Compare
eaa826e to
1c16be9
Compare
1c16be9 to
6c4cab9
Compare
2b73376 to
d84527e
Compare
d84527e to
ba22c0a
Compare
0400c1b to
ebca572
Compare
ebca572 to
8423a93
Compare
eeaa985 to
b400dd9
Compare
b400dd9 to
3fef5a8
Compare
3fef5a8 to
20324b3
Compare
20324b3 to
6b5c744
Compare
6b5c744 to
43c7c8d
Compare
e5720b5 to
256e1a4
Compare
256e1a4 to
47a7dbb
Compare
fabbf0d to
e0d4df4
Compare
e0d4df4 to
3406e81
Compare
09d9124 to
139793c
Compare
139793c to
ed8a03b
Compare
ed8a03b to
095c435
Compare
095c435 to
785c4df
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.43.1→0.53.2Release Notes
xojs/eslint-config-xo (eslint-config-xo)
v0.53.2Compare Source
unicorn/require-array-sort-comparein favor of TS version for TS code (#105)c67e766v0.53.1Compare Source
6165417v0.53.0Compare Source
Breaking
Prettier integration
A new
prettieroption lets you combine the rules with Prettier:true— Runs Prettier as an ESLint rule using XO's Prettier style, and disables the stylistic rules that would conflict with it. Requiresprettierto be installed.'compat'— Only disables the stylistic rules that conflict with Prettier, for when you run Prettier separately (for example, from your editor).Anything XO does not configure (like
printWidthor Prettier plugins) still respects your.prettierrc, but XO's own style settings take precedence.prettieris an optional peer dependency.CSS linting
.cssfiles are now linted out of the box via@eslint/css: duplicate imports, empty blocks, invalid at-rules, unmatchable selectors, invalid named grid areas, and more.New rules
unicorn/better-dom-traversingunicorn/class-reference-in-static-methodsunicorn/consistent-class-member-orderunicorn/consistent-compound-wordsunicorn/consistent-export-decorator-positionunicorn/consistent-json-file-readunicorn/consistent-optional-chainingunicorn/explicit-timer-delayunicorn/logical-assignment-operatorsunicorn/max-nested-callsunicorn/no-array-fill-with-reference-typeunicorn/no-array-from-fillunicorn/no-array-spliceunicorn/no-blob-to-fileunicorn/no-break-in-nested-loopunicorn/no-canvas-to-imageunicorn/no-computed-property-existence-checkunicorn/no-confusing-array-spliceunicorn/no-confusing-array-withunicorn/no-declarations-before-early-exitunicorn/no-duplicate-loopsunicorn/no-duplicate-set-valuesunicorn/no-error-property-assignmentunicorn/no-exports-in-scriptsunicorn/no-global-object-property-assignmentunicorn/no-incorrect-query-selectorunicorn/no-incorrect-template-string-interpolationunicorn/no-late-current-target-accessunicorn/no-mismatched-map-keyunicorn/no-negated-array-predicateunicorn/no-negated-comparisonunicorn/no-non-function-verb-prefixunicorn/no-object-methods-with-collectionsunicorn/no-optional-chaining-on-undeclared-variableunicorn/no-redundant-comparisonunicorn/no-return-array-pushunicorn/no-subtraction-comparisonunicorn/no-top-level-side-effectsunicorn/no-uncalled-methodunicorn/no-undeclared-class-membersunicorn/no-unnecessary-global-thisunicorn/no-unnecessary-nested-ternaryunicorn/no-unnecessary-spliceunicorn/no-unreadable-object-destructuringunicorn/no-unsafe-buffer-conversionunicorn/no-unsafe-property-keyunicorn/no-unsafe-string-replacementunicorn/no-unused-array-method-returnunicorn/no-useless-boolean-castunicorn/no-useless-coercionunicorn/no-useless-concatunicorn/no-useless-continueunicorn/no-useless-elseunicorn/no-useless-overrideunicorn/no-useless-recursionunicorn/no-useless-template-literalsunicorn/operator-assignmentunicorn/prefer-add-event-listener-optionsunicorn/prefer-array-from-mapunicorn/prefer-array-last-methodsunicorn/prefer-array-sliceunicorn/prefer-direct-iterationunicorn/prefer-early-returnunicorn/prefer-else-ifunicorn/prefer-get-or-insert-computedunicorn/prefer-global-number-constantsunicorn/prefer-has-checkunicorn/prefer-httpsunicorn/prefer-identifier-import-export-specifiersunicorn/prefer-includes-over-repeated-comparisonsunicorn/prefer-iterable-in-constructorunicorn/prefer-iterator-to-arrayunicorn/prefer-iterator-to-array-at-endunicorn/prefer-location-assignunicorn/prefer-map-from-entriesunicorn/prefer-math-absunicorn/prefer-minimal-ternaryunicorn/prefer-number-coercionunicorn/prefer-number-is-safe-integerunicorn/prefer-object-define-propertiesunicorn/prefer-object-destructuring-defaultsunicorn/prefer-object-iterable-methodsunicorn/prefer-path2dunicorn/prefer-private-class-fieldsunicorn/prefer-queue-microtaskunicorn/prefer-scoped-selectorunicorn/prefer-simple-sort-comparatorunicorn/prefer-single-array-predicateunicorn/prefer-single-object-destructuringunicorn/prefer-smaller-scopeunicorn/prefer-split-limitunicorn/prefer-string-match-allunicorn/prefer-string-pad-start-endunicorn/prefer-string-repeatunicorn/prefer-type-literal-lastunicorn/prefer-uint8array-base64unicorn/prefer-unicode-code-point-escapesunicorn/prefer-url-hrefunicorn/require-array-sort-compareunicorn/require-css-escapeunicorn/require-passive-eventsunicorn/require-proxy-trap-boolean-return@typescript-eslint/no-unnecessary-type-conversionv0.52.0Compare Source
Breaking
6b715f3New rules
@typescript-eslint/strict-boolean-expressions0841559xo/import-specifier-newline98f0aa9Improvements
ca9780b2eba4832bb9c6c5da39d4717184beslint-import-resolver-typescriptfor import resolution600b604naming-convention rule: Ignore all exotic/quoted keysbd171banaming-convention rule: Allow UPPER_CASE for static readonly class propertiesce92257naming-convention rule: Allow UPPER_CASE for module-level const variables0b4bcce??tono-mixed-operatorsgroups9117295eslint-disablecomments55b6ae192549e87e2747df474625capitalized-comments: Don't capitalize commented-out codeaedc832v0.51.0Compare Source
Breaking
eslint.config.js:./spaceand./browsersub-path exports. Use thespaceandbrowseroptions instead:Improvements
eslint-config-xo-typescript: TypeScript rules are now included. No need to install a separate package.eslint-plugin-unicorn,eslint-plugin-import-x,eslint-plugin-n,eslint-plugin-ava,@eslint-community/eslint-plugin-eslint-comments, and a built-inno-use-extend-nativerule. Previously these were only available through the XO CLI.semicolonoptionno-shadowrule4cec7d2v0.50.0Compare Source
Breaking
874aefaNew rules
preserve-caught-error1e2cd5crequire-unicode-regexpe9736c2css/no-unmatchable-selectors7adc524css/no-duplicate-keyframe-selectors8b3d031css/font-family-fallbacksadcb144Improvements
no-sequences: AddallowInParentheses: false391d4c8v0.49.0Compare Source
Breaking
dd5cf67New rules
no-unused-private-class-membersrule568f75fcss/no-invalid-at-rule-placementrule8d122abcss/no-invalid-named-grid-areasrule9f5d7c2v0.48.0Compare Source
no-unassigned-varsrule4082baacapitalized-comments: Support codespell (#91)3b196adv0.47.0Compare Source
capitalized-comments: Support biome ignore comments (#90)518f523@stylistic/curly-newlinerulee1fe11c6a547b5capitalized-comments: Add v8 to theignorePatternoption (#88)4bb2399v0.46.0Compare Source
New rules
@stylistic/indent-binary-opsd91defd@stylistic/function-paren-newlinefb5e204@stylistic/block-spacingcb6b443@stylistic/multiline-ternary3dea281Breaking
ec210f2Improvements
@stylistic0f81063max-lenandmax-linesas warning (#84)e669d26no-extra-boolean-cast" (#87)f010b63no-extra-boolean-casta6dc171v0.45.0Compare Source
6f2ff13v0.44.0Compare Source
Breaking
f2060deNew rules
logical-assignment-operators27049c1prefer-object-has-own288a3caobject-curly-newline(#83)3a5448bImprovements
atobandbtoadfa969cno-new-objectrule7f8f92eno-unused-vars: Allow ignoring variables by prefixing with underscoreb31ab8aConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.